package com.ce.pms.common.model;
/**
 * 逻辑、功能相关描述:
 *
 * @author yandawei 编写日期：2008-9-16
 */

import javax.persistence.*;

import com.ce.pms.house.model.Precinct;

/***
 *
 * 实体名称:管理区权限 关联数据表:SEC_RIGHT_PRECINCT
 *
 */
@Entity
@Table(name="SEC_RIGHT_PRECINCT")
@PrimaryKeyJoinColumn(name = "RIGHT_PRECINCT_ID")
public class SecRightPrecinct extends SecRight {

	/**
	 * 管理区
	 */
	@OneToOne
	@JoinColumn(name = "PRECINCT_ID", nullable = false)
	private Precinct precinct;


	public Precinct getPrecinct() {
		return precinct;
	}

	public void setPrecinct(Precinct precinct) {
		this.precinct = precinct;
	}


}
